package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.OrderCancelResponse;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/8/10.
 */

public interface GivePrizeRequest {
    @FormUrlEncoded
    @POST("dashang")
    Observable<BaseModel<OrderCancelResponse>> getResult(@Query("token") String token,
                                                         @Field("from_user") String from_user,
                                                         @Field("to_user") String to_user,
                                                         @Field("amount") String amount,
                                                         @Field("password") String password);
}
